package pl.enigmatic.parser.string.pl.edu.enigma.math.perm;

import pl.enigmatic.math.perm.LatinsPermutation;
import pl.enigmatic.parser.string.Converter;


public class LatinsPermutationConverter extends Converter<LatinsPermutation> {

	@Override
	public LatinsPermutation convert(String value) {
		return LatinsPermutation.parseString(value);
	}

	@Override
	public String convertBack(LatinsPermutation value) {
		return value.toStringH();
	}

}
